<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <fieldset style="width:40px">
        <legend>注册</legend>
        <form action="">
            <p>
                用户名:<input type="text" placeholder="用户名">
            </p>
            <p>
                密&nbsp;&nbsp;&nbsp;码:<input type="password" placeholder="密码">
            </p>
            <p><button>提交</button></p>
        </form>
    </fieldset>
    <fieldset style="width:40px">
        <legend>登录</legend>
        <form action="">
            <p>
                用户名:<input placeholder="用户名">
            </p>
            <p>
                密&nbsp;&nbsp;&nbsp;码:<input type="password" placeholder="密码">
            </p>
            <p>
                <button>登录</button>                
                <button type="reset">重置</button>                

            </p>
        </form>
    </fieldset>
</body>
</html>